#ifndef COMPILER_ONLINE
#include "header.cpp"
#endif

void Test1()
{
    string s = "aa";
    string p = "a";
    bool res = Solution().isMatch(s, p);
    if(res == false)
    {
        std::cout << "Test 1 .... OK" << std::endl;
    }
    else
    {
        std::cout << "Test 1 .... Failed" << std::endl;
    }
    
}

void Test2()
{
    string s = "aa";
    string p = "a*";
    bool res = Solution().isMatch(s, p);
    if(res == true)
    {
        std::cout << "Test 2 .... OK" << std::endl;
    }
    else
    {
        std::cout << "Test 2 .... Failed" << std::endl;
    }
}

void Test3()
{
    string s = "ab";
    string p = ".*";
    bool res = Solution().isMatch(s, p);
    if(res == true)
    {
        std::cout << "Test 3 .... OK" << std::endl;
    }
    else
    {
        std::cout << "Test 3 .... Failed" << std::endl;
    }
}

int main()
{
    Test1();
    // std::cout << "ceshi...." <<std::endl;
    Test2();

    Test3();

    return 0;
}